package tour.board.service;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Map;

import tour.board.to.EpBoard;
import tour.board.to.ReEpBoard;
import tour.board.to.RecommendTO;



public interface EpBoardService {

	public abstract void writeContent(EpBoard bto) throws SQLException;

	public abstract ArrayList<EpBoard> getBoardAllList() throws SQLException;

	public abstract EpBoard getContentByNO(int no) throws SQLException;

	public abstract EpBoard getContentByNoForForm(int no) throws SQLException;

	public abstract void modifyContent(EpBoard bto) throws SQLException;

	public abstract void deleteContentByNO(int no) throws SQLException;

	public abstract void replyContent(EpBoard bto) throws SQLException;

	//페이징 리스트 조회
	public abstract Map getBoardListByPage(int page) throws SQLException;

	public abstract ArrayList replyList();

	public abstract void addReply(ReEpBoard reEpBoard);

	public abstract ArrayList getReplyByNo(int no);
	
	//추천
	public abstract String recommend(RecommendTO rto) throws SQLException;

	public abstract void updateCommendCount(int no) throws SQLException;
	
	public abstract void insertRecommendInfo(RecommendTO rto) throws SQLException;

	public abstract ArrayList mainList();

	public abstract ArrayList findTitle(String find);

	public abstract ArrayList findWriter(String find);
}
